package priv.mill.homework01;

import org.springframework.stereotype.Component;

@Component
public class Water {
	private String brand;
	private String producer;
	
	public Water() {

	}
	
	public Water(String brand, String producer) {
		this.brand = brand;
		this.producer = producer;
	}
	
	public String getBrand() {
		return brand;
	}
	public void setBrand(String brand) {
		this.brand = brand;
	}
	public String getProducer() {
		return producer;
	}
	public void setProducer(String producer) {
		this.producer = producer;
	}
	
	@Override
	public String toString() {
		return "Water [brand=" + brand + ", producer=" + producer + "]";
	}
	
}
